# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=sc-im
pkgver=0.8.2
pkgrel=1
pkgdesc="ncurses spreadsheet program based on SC"
url="https://github.com/andmarti1424/sc-im"
arch="all"
license="BSD-4-Clause"
makedepends="bison ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/andmarti1424/sc-im/archive/v$pkgver.tar.gz"
options="!check" # TODO: run proper tests, perhaps upstream PR 385

build() {
	make -C src prefix=/usr
}

package() {
	make -C src install DESTDIR="$pkgdir" prefix=/usr
}

sha512sums="
ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c  sc-im-0.8.2.tar.gz
"
